<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <script>
    //用户行数和列数，打印对应的@
    // 用户弹框
    //  let hang =prompt(`请打印对应的行数`)
    //  let lei =prompt(`请打印对应的列数`)
    // 打印输出
    //  for(let i=1;i<=hang;i++){

    //   for(let j=1;j<=lei;j++){
    //     document.write(`@ `)
    //   }
    //    document.write(`<br>`)
    //  }




    let n1 = prompt(`行数`)
    let n2 = prompt(`列数`)
    for (let i = 1; i <= n1; i++) {
      for (let j = 1; j <= n2; j++) {
        document.write(`@`)
      }
      document.write(`<br>`)
    }

  </script>
</body>

</html>